package com.cloudfun.campusshare.configuration.jpa.util;

/**
 * @author 王溪源
 * @ClassName: RestrictionNames
 * @Description: TODO
 * @Date 2020/8/10 9:40
 **/
public interface RestrictionNames {
    // 等于查询
    String EQ = "EQ";
    String EQ_EXPRESSION = " = ";

    String NE = "NE";
    String NE_EXPRESSION = " <> ";

    String GE = "GE";
    String GE_EXPRESSION = " >= ";

    String GT = "GT";
    String GT_EXPRESSION = " > ";

    String LE = "LE";
    String LE_EXPRESSION = " <= ";

    String LT = "LT";
    String LT_EXPRESSION = " < ";

    String IN = "IN";
    String IN_EXPRESSION = " IN ";

    String NIN = "NIN";
    String NIN_EXPRESSION = " NOT IN ";
    // 左模糊查询
    String LLIKE = "LLIKE";
    String LLIKE_EXPRESSION = " like ";
    // 右模糊查询
    String RLIKE = "RLIKE";
    String RLIKE_EXPRESSION = " like ";

    String LIKE = "LIKE";
    String LIKE_EXPRESSION = " like ";
}
